home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Metrowerks CodeWarrior / CodeWarrior Pro 4 Release Notes / Java Notes / Metrowerks VM Release Notes < prev    next >
Encoding:
Text File  |  1998-04-02  |  12.0 KB  |  298 lines  |  [TEXT/CWIE]

  1. ========================================================================
  2. Metrowerks Java VM Release Notes 
  3. ========================================================================
  4.  
  5. Version: 1.1.5
  6. Date:    Feb 15, 1998
  7. Author:  Michael C. Stricklin, Scott Kovatch, Marcus Jager, Kevin Buettner, Mike Farrar
  8. ========================================================================
  9.  
  10. ========================================================================
  11. New Features in This Version
  12. ========================================================================
  13.    -  Updated to JDK 1.1.5 source base
  14.    -  Full support for JNI.  You can write your native methods using JNI-
  15.       style calling conventions, and they will be called, and you can
  16.       call back to Java as needed.
  17.    -  The VM now executes applications (i.e., those launched via the
  18.       javai window) via an app runner that kicks off the app in its own
  19.       thread.  This greatly improves the responsiveness of the VM, and
  20.       allows System.in to work again.
  21.    -  SystemInput.java has been rewritten for the 1.1 event model.
  22.    -  Appletviewer now reloads classes every time instead of using its
  23.       cached classloader.  This lets you test your applet without having
  24.       to quit and relaunch MW Java every time.
  25.       
  26. ========================================================================
  27. Bugs Fixed in This Version
  28. ========================================================================
  29. 1.1.5
  30.    -  Fixed a bug when killing from the debugger.
  31.    -  System.exit now works properly.
  32.    -  FileDialog crasher fixed--native method wasn't making sanity checks.
  33.  
  34. 1.1.3
  35.  
  36.    -  Lists now autoscroll when dragged outside of their boundaries,
  37.       and selected items draw in the hilite color.  You can also drag-
  38.       select.
  39.    -  Fixed problem in JIT where JNI native methods wouldn't get called.
  40.    -  Panels now clip out their subpanes before translating the origin.
  41.       This caused odd rectangles to not get drawn in lightweight
  42.       components.
  43.    -  We now use many of the Sun defaults for SystemColor, and only
  44.       override the highlight color and window colors.  Also, the opaque-
  45.       ness wasn't being set, so Color.equals() wasn't working.
  46.    -  Set up a default page amount for scroll panes.  Due to a Sun bug
  47.       (implementation choice?) setting the page increment has no effect.
  48.    -  Fixed an incorrect handling of JMSetFrameSize.  Windows now resize,
  49.       and when moved, correctly report their location as a COMPONENT_
  50.       MOVED or COMPONENT_RESIZED event.
  51.          
  52. 1.1.3b3
  53.  
  54.    -  File.exists, canRead, canWrite are now correctly implemented.
  55.    -  File.renameTo works on directories as well as files.
  56.    -  Scrollbars didn't take into account the visible parameter when
  57.       setting the max value of a scrollbar.
  58.    -  javah and javap were fixed so that an exception during execution
  59.       didn't render them useless again.
  60.    -  Fixed generation of Accept-Language to use '-' instead of '_'
  61.    -  Fixed closing of sockets so that they always get destroyed.
  62.       Previously, a bad OT call could abort the disposal of the socket.
  63.    -  Sockets are now directly destroyed instead of waiting for the net
  64.       idler thread to kill them.
  65.    -  We again call CloseOpenTransport when the VM is shut down or
  66.       unloaded.
  67.    -  Set the port-reuse flag to true so that sockets behave better
  68.       (mostly for ServerSockets)  Creating a generic ServerSocket now
  69.       works correctly.
  70.  
  71. 1.1.3b2
  72.  
  73.    -  TextComponents now correctly handle strings that are substrings
  74.       of other strings.
  75.    -  HTTP get now sends user.language and user.region in the request.
  76.    -  VM doesn't permanently shut itself down if an exception occurs
  77.       trying to start an app or applet.
  78.    -  JNI cleaned up significantly.  JManager interface modified slightly
  79.       to allow JNI through JManager -- documentation and a stub library
  80.       will be made available shortly.
  81.    -  ScrollPane rewritten.  Remember that Java moves the component, not
  82.       the scrollpane.
  83.    -  More JIT fixes.
  84.    -  Appletviewer now correctly calls stop() and destroy() when destroyed via
  85.       JMDisposeAppletViewer.
  86.    -  JPEG images work again.
  87.    -  Numerous tools missing from the sun.tools.* hierarchy were added
  88.    -  sunw.* classes necessary for beans support added.
  89.    -  RMI default implementations that are autogenerated during the win/solaris
  90.       build were generated and added to classes.zip.  RMI now works, but the
  91.       registry server will enter a Java tight loop due to problems with
  92.       the MW Java application method of running code.
  93.  
  94. 1.1.3b1
  95.  
  96.    -  First update release to CWP1
  97.    -  VM now correctly identifies user's language, country, and timezone.
  98.    -  TextEvents are now generated when the user changes the text in a
  99.       TextField or TextArea
  100.    -  Scrollbars now work properly again
  101.    -  MenuShortcuts under System 8 use Appearance Mgr.
  102.    -  Numerous 68k JIT fixes
  103.    -  CheckboxMenuItems couldn't be added to a menu - fixed.
  104.    -  Fixed bug in socket read implementation so an orderly disconnect
  105.       doesn't throw an exception.  Return gracefully -- future reads on
  106.       the same socket will generate an exception, however.
  107.    
  108. 1.1.3d19
  109.  
  110.    -  Fixed intermittent bug in JSM_JavaStringToCString.
  111.  
  112. 1.1.3d18
  113.  
  114.    -  Added feature for percentage width and height
  115.    -  Fixed bug causing additional redraw when applets hide.
  116.  
  117. 1.1.3d17
  118.  
  119.    -  JIT fix for CFM68k -- longs not moved around correctly.
  120.    -  Fix in MacTCP code
  121.    -  Improved messages in CAB downloading
  122.  
  123. 1.1.3d16
  124.  
  125.    -  Merged in 1.1.3 VM source code -- Note the version change.
  126.    -  JIT fix in CSE optimization
  127.    -  Reverted back to old build project -- d15 was a bad build.
  128.  
  129. 1.1.2d15
  130.  
  131.    -  Fixed handling of null java strings better when TEC isn't in use.
  132.    -  More JIT fixes
  133.    -  JIT now has CSE, resulting in an 80 point CaffeineMark increase.
  134.    -  AppletViewer handles % in height and width, but doesn't size to match.
  135.    -  Fixed drawing focus problem with text areas.
  136.  
  137. 1.1.2d14
  138.  
  139.    -  OBCI re-integrated into VM.
  140.  
  141. 1.1.2d13
  142.  
  143.    -  Numerous JIT fixes
  144.    -  OBCI re-integrated into VM.
  145.  
  146. 1.1.2d12
  147.  
  148.    -  Changed back to using handleExpose instead of handleUpdate, as 
  149.       this was breaking a number of applets.
  150.    -  Added more page types to the applet locator.
  151.  
  152. 1.1.2d10
  153.  
  154.    -  Fixed bug in getFontListInternal that was overwriting memory, causing
  155.       the GC to blow up.
  156.    -  68k cleaned up.
  157.  
  158. 1.1.2d9
  159.  
  160.    -  Fixed memory allocation problems that would prevent VM from running
  161.       on machines with small amounts of memory.
  162.    -  68k problems fixed, but JIT will have problems with float values.
  163.    -  Menus now delete completely when deleted (no dangling menu titles)
  164.    -  More PowerPlant command hierarchy problems fixed.  Applets should go
  165.       away without crashing now.
  166.    -  CAB loader now checks for existence of CAB library before using it.
  167.       If not available, goes on looking for jar archives, and if none
  168.       of those are available, downloads one at a time.
  169.  
  170. 1.1.2d8
  171.  
  172.    -  Build problems fixed.  VM now loads correctly on 68k and PPC, JIT
  173.       and non-JIT.
  174.  
  175. 1.1.2d7
  176.  
  177.    -  Fixed LARGE bug related to state where VM can get a NIL target, causing
  178.       very very bad things to happen.  This fixes a slew of random bugs,
  179.       typically when closing windows or shutting down applets.
  180.    -  Fixed applet viewer to accept html pages with an extension of .dyn
  181.       (Sony Station)
  182.    -  Changed CAB loader to be synchronized so only one applet downloads
  183.       at a time.  This prevents multiple applets from trying to write the
  184.       same file to disk at the same time.
  185.    -  Fixed applet viewer to generate a default applet name if one isn't
  186.       specified by the applet tag.  I'm not sure if this is completely
  187.       kosher, because the applet is expected to provide a tag, but it
  188.       appears as though other java's are doing this.
  189.       
  190. 1.1.2d6
  191.  
  192.    -  Significant improvements in CAB file support.  The applet loader now
  193.       deals with them correctly, and deletes the files after downloading.
  194.       Progress information is also printed in the status bar.
  195.    -  MW AppletViewer wasn't working with system properties, but was instead
  196.       creating its own.  This is bad, as many JManager related properties only
  197.       can be found in the system properties.
  198.       
  199. 1.1.2d5
  200.  
  201.    -  Key events had the wrong keycode for normal characters.  We now map
  202.       the Mac key/character to the appropriate Java keycode.
  203.    -  Command key equivalents in a TextArea were broken.  This is now
  204.       fixed, but they aren't reflected in the menu due to a limitation
  205.       in the JManager interface.
  206.    -  Focus events in TextAreas weren't being generated correctly, because
  207.       the TextArea never took the focus.
  208.    -  Arrow keys now work in lists.
  209.  
  210. 1.1.1d4
  211.  
  212.    -  Components were always being shown regardless of whether or not
  213.       they were visible.  Fixed.
  214.    -  Changed PopupMenu to always install menu instead of just when it
  215.       exists.
  216.    -  Text Component:  String offset wasn't being taken into account when
  217.       getting the text for a setText call.
  218.  
  219. 1.1.1d3
  220.  
  221.    -  Fixed large memory leak in the garbage collector.
  222.    -  Event handling:  Key events that are handled natively now have their
  223.       consumed field set.  This caused lists (for example) to process the
  224.       keypress twice.
  225.    -  Lists:  Lists now erase themselves before drawing their cells.
  226.    -  Canvas/Container/Window drawing:  These components no longer erase
  227.       themselves natively before invoking paint(). The component's update()
  228.       method is now called, which erases the component from within Java.
  229.    
  230.  
  231. ========================================================================
  232. Known Bugs and Incompatibilities
  233. ========================================================================
  234.  
  235. *  The Metrowerks AppletViewer may get stuck in a loop when exiting.  Using
  236.    the Sun appletviewer will alleviate the problem.
  237.  
  238. *  The VM may hang if 'Quit' is chosen after an exception has been thrown.
  239.  
  240. *  If you are stopped at a breakpoint in your Java code and kill your Java
  241.    application or applet, the VM will occasionally crash.  Typing ES from
  242.    MacsBug should escape you back to the debugger without any problems.
  243.    
  244.    Giving the debugger more memory appears to alleviate the problem.  We
  245.    are investigating whether or not a fix can be completed.
  246.  
  247. *  If you add the parameter "-exit" to your Java Application, Metrowerks
  248.    VM will allow the application to call System.exit(). The default is
  249.    the tag "-noexit". By default a call to System.exit() will throw a
  250.    java.lang.SecurityException. This is handy to know for certain Java
  251.    applications. This must be done from the "javai" window. It isn't 
  252.    applicable from the application window.
  253.  
  254.  
  255. ========================================================================
  256. Additional Notes
  257. ========================================================================
  258.  
  259. -  With this release, all 1.1 features are now supported.  This includes:
  260.  
  261.    - JNI
  262.    - Clipboard
  263.    - 1.1 event model
  264.    - New Graphics methods/api changes
  265.    - New Font names
  266.    - PopupMenu
  267.    - MenuShortcuts
  268.    - Image.drawStretched
  269.    - System colors (control, text, menu, etc.)
  270.    - Printing
  271.    - ScrollPane
  272.    - New DatagramSocket features (TTL, etc.)
  273.    - TextArea -- TextArea supports scrollbars and word wrap in a different
  274.      way than Java 1.0.2.  Get a copy of the book _Java AWT Reference_ by John
  275.      Zukowski for more information, or check the Java web site.
  276.  
  277. -  To use this version of Metrowerks Java, the files MW Java VM PPC, and
  278.    the Classes and lib folder must reside in the same folder as Metrowerks
  279.    Java.
  280.  
  281. ========================================================================
  282. Contacting Metrowerks
  283. ========================================================================
  284.  
  285. For bug reports, technical questions, and suggestions, please use the
  286. forms in the Release Notes folder on the CD, and send them to
  287.  
  288. support@metrowerks.com
  289.  
  290. See the CodeWarrior on the Nets document in the Release Notes folder for
  291. more contact information, including a list of Internet newsgroups, 
  292. online services, and patch and update sites.
  293.  
  294. ========================================================================
  295.  
  296.  
  297. Metrowerks Corporation
  298.